<%--
  Created by IntelliJ IDEA.
  User: root
  Date: 2017/9/13
  Time: 22:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--<c:set var="ctx"  value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}" />--%>
<!-- 或者下面的方式 -->
<%--<%--%>
<%--String path = request.getContextPath();--%>
<%--String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";--%>
<%--%>--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8" />
    <title>组织注册</title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <c:set var="ctx" value="${pageContext.request.contextPath}"/>
    <link type="text/css" rel="stylesheet" href="${ctx}/static/css/style.css" />
    <link type="text/css" rel="stylesheet" href="${ctx}/static/css/public.css" />
    <link type="text/css" rel="stylesheet" href="${ctx}/static/css/bglogin.css" />
    <script type="text/javascript" src="${ctx}/static/plugins/jquery/jquery-1.11.3.min.js"></script>
    <%@ include file="/WEB-INF/views/common/easyui.jsp"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <script src="${ctx}/static/plugins/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="${ctx}/static/plugins/easyui/common/jquery.select.js"type="text/javascript"></script>
</head>
<body id="loginPage">
<form id="loginForm" action="${ctx}/user/orgRegister" method="post">
    <div class="showLogo">
        欢迎使用湖北省"杨威"杯体操冠军赛注册报名系统(2017版)
    </div>
    <div class="loginBox">
        <div class="leftBox">
            <h3>组织注册</h3>
            <div class="login_main_errortip" style="margin-left:75px;margin-top:10px;color:red;"></div>
            <div class="regBox">
                <input type="text" class="inputText"  id="userName" name="userName" autocomplete="off" value="" placeholder="单位名称"/>

                <p class="tipsWord right"></p>
                <input type="password" class="inputPassport" id="password" name="password" autocomplete="off" value="" placeholder="密码"/>

                <p class="tipsWord right"></p>
                <input type="password" class="inputPassport" id="passwordAgain" name="passwordAgain" autocomplete="off" value="" placeholder="确认密码"/>

                <p class="tipsWord right"></p>
                <div>
                    <%--点击取消回到系统主界面--%>
                    <div class="orgRegisBu"><button><a href="${ctx}/getLogin">取消</a></button></div>
                    <div class="userRegisBu"><button type="submit"><a>确定</a></button></div>
                </div>
            </div>
        </div>
    </div>
</form>
<script type="text/javascript">
    var msg = '${msg}';
    if(null != msg && ''!=msg && typeof(msg)!="undefined" ){
        $.messager.alert('提示',msg,'info');
    }
    //如果不是顶部，则置顶
    if (window != top){
        top.location.href = location.href;
    }

    //如果有错误会提示，否则提示空
    <%--$("#errorTip").html('${msg}');--%>
</script>
</body>
</html>

